﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Login.aspx.vb" Inherits="SiteApostas.Login" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Login Apostas</title>
    <link href="../Styles/Site.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/Loading.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Panel ID="pnlLogin" runat="server" CssClass="panel_">
                    <h2 class="logo_">
                        Log In
                    </h2>
                    <p>
                        Introduz os teus Dados!!
                        <asp:LinkButton ID="lnkRegister" runat="server" Font-Underline="false">
                        <img alt="" src="../Styles/Images/add.png" style='border-width:0px;' />
                        Regista-te</asp:LinkButton>
                        se não tiveres uma conta!!
                    </p>
                    <div style="text-align: center;">
                        <asp:Label ID="lblErro" runat="server" Text="Label" Visible="false" ForeColor="Red"></asp:Label>
                    </div>
                    <div class="accountInfo" style="width: 100%; height: 100%;">
                        <fieldset class="login">
                            <legend>Dados</legend>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblUserName" runat="server" Text="UserName: "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtUserName" runat="server" CssClass="textEntry"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblPassword" runat="server" Text="Password: "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                        <asp:LinkButton ID="lnkBtnLogin" runat="server" Font-Underline="false">
                                        <img alt="" src="../Styles/Images/accept.png" style='border-width:0px;' />
                                        Log In</asp:LinkButton>
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </div>
                </asp:Panel>
                <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="lnkRegister"
                    PopupControlID="pnlRegister" BackgroundCssClass="modalBackground_" DropShadow="false">
                </asp:ModalPopupExtender>
                <asp:Panel ID="pnlRegister" runat="server" CssClass="registerModal">
                    <h2 class="logo_">
                        Criar uma nova Conta
                    </h2>
                    <p>
                        Usa o formulário abaixo para criar uma nova conta!!</p>
                    <div style="text-align: center;">
                        <asp:Label ID="lblErroRegister" runat="server" Text="Label" Visible="false" ForeColor="Red"></asp:Label>
                    </div>
                    <div class="accountInfo" style="width: 100%;">
                        <fieldset class="login">
                            <legend>Dados</legend>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblUser" runat="server">User Name:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtUser" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblDisplayName" runat="server">Display Name:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtDisplayName" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblEmail" runat="server">E-mail:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblPass" runat="server">Password:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtPass" runat="server" TextMode="Password"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblConfirmarPass" runat="server">Confirmar Password:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtConfirmarPass" runat="server" TextMode="Password"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:LinkButton ID="lnbCriarUser" runat="server" Font-Underline="false">
                                        <img alt="" src="../Styles/Images/user_add.png" style='border-width:0px;' />
                                        Criar Utilizador</asp:LinkButton>
                                    </td>
                                    <td>
                                        <asp:LinkButton ID="lnkVoltar" runat="server" Font-Underline="false">
                                            <img alt="" src="../Styles/Images/navigation-180-white.png" style='border-width:0px;' />
                                        Voltar</asp:LinkButton>
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </div>
                </asp:Panel>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdateProgress AssociatedUpdatePanelID="UpdatePanel1" ID="updateProgress" runat="server">
            <ProgressTemplate>
                <div id="progressBackgroundFilter">
                </div>
                <div id="processMessage">
                    Espera aí...
                    <br />
                    <img alt="Loading" src="../Styles/Images/spinner.gif" /></div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    </div>
    </form>
</body>
</html>
